package com.cskaoyan.service;

import com.cskaoyan.bean.MarketAdmin;
import com.cskaoyan.bean.common.BaseRespVo;

import java.util.List;
import java.util.Map;

/**
 * @author stone
 * @date 2023/03/17 10:32
 */
public interface AdminService {
    MarketAdmin query(String username, String password);

    BaseRespVo list(Integer page, Integer limit, String username, String sort, String order);

    BaseRespVo create(MarketAdmin marketAdmin);

    BaseRespVo update(MarketAdmin marketAdmin);

    BaseRespVo delete(MarketAdmin marketAdmin);

    BaseRespVo modifyPassword(Map passwordMap);
}
